<template>
	<view v-if="list.length">
		<view class="layout flex" v-for="(item, index) in list" :key="index">
			<view class="left">
				<image src="/static/ceshi.png" mode=""></image>
			</view>
			<view class="right flex flexColumn">
				<view class="title">
					{{ item.title }}
				</view>
				<view class="desc line1">
					{{ item.desc }}
				</view>
				<view class="time flex">
					{{ item.time }}
				</view>
			</view>
		</view>	
	</view>
	
</template>

<script>
	export default {
		props: {
			list: {
				type: Array,
				default: []
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss" scoped>
	.layout{
		display: flex;
		height: 150rpx;
		.left{
			image{
				width: 200rpx;
				height: 150rpx;
				margin-right: 20rpx;
				border-radius: 20rpx;
			}
		}
		.right{
			flex: 1;
			height: 150rpx;
			color: #999;
			.title{ 
				font-size: 30rpx;
				color: #000;
			}
			.desc{
				font-size: 26rpx;
			}
			.time{
				font-size: 28rpx;
				flex: 1;
				align-items: flex-end;
			}
		}
	}
</style>